import { Tools } from 'weaver-mobile';

export const getAllCates = params => {   //目标分类
    let options = {
		method: 'GET',
		url: '/api/workrelate/goal/getAllCates',
		params
	};
    return Tools.callApi(options);
}

export const addGoal = params => {   //添加目标
    let options = {
		method: 'POST',
		url: '/api/workrelate/goal/addGoal',
		params
	};
    return Tools.callApi(options);
}